const SERVERURL = "http://sxjstc.cn/app.php/"; //设置域名

var Config = {};

Config.api = {
    //登录
    //注册发送验证码
    LoginSendsmsRegister: SERVERURL + "user/Login/sendsmsRegister",
    //注册用户
    LoginRegister: SERVERURL + "user/Login/register",
    //密码登录
    LoginPassLogin: SERVERURL + "user/Login/passLogin",
    //登录验证码
    LoginSendsmsLogin: SERVERURL + "user/Login/sendsmsLogin",
    //验证码登录
    LoginCaptchaLogin: SERVERURL + "user/Login/captchaLogin",


    //上传图片接口
    //上传隐私图片接口
    ImageUploadPrivacy: SERVERURL + "uploads/Image/uploadPrivacy",
    //上传公共图片接口
    ImageUploadcommon: SERVERURL + "uploads/Image/uploadcommon",


    //工种选择,工种级别选择
    //工种选择,工种级别选择/获取一级工种
    WorkCateGetParentList: SERVERURL + "workcate/WorkCate/getParentList",
    //工种选择,工种级别选择/获取二级工种
    WorkCateGetChildList: SERVERURL + "workcate/WorkCate/getChildList",
    //工种选择,工种级别选择/获取工种级别
    WorkCateWorkCateLevel: SERVERURL + "workcate/WorkCate/workCateLevel",


    //首页
    //获取APP下载二维码
    HomeQrcode: SERVERURL + "index/home/qrcode",
    //获取用户当前所在城市区域
    HomeGetRegion: SERVERURL + "index/home/getRegion",
    //获取首页 banner 图
    HomeGetBanner: SERVERURL + "index/home/getBanner",
    //首页/公告
    HomeGetBulletin: SERVERURL + "index/home/getBulletin",
    //首页/公告列表
    BulletinGetLists: SERVERURL + "index/Bulletin/getLists",
    //首页/公告列表/公告详情
    BulletinGetDetail: SERVERURL + "index/Bulletin/getDetail",
    //首页/广告列表
    HomeGetAdvert: SERVERURL + "index/Home/getAdvert",
    //首页/广告列表2
    HomeGetAdvert1: SERVERURL + "index/Home/getAdvert1",
    //首页/广告详情页
    AdvertGetDetail: SERVERURL + "index/Advert/getDetail",
    //平台介绍/平台介绍列表
    NewsJieshao: SERVERURL + "index/News/jieshao",
    //平台权益/平台权益列表
    NewsQuanyi: SERVERURL + "index/News/quanyi",
    //操作指南/操作指南列表
    NewsCaozuo: SERVERURL + "index/News/caozuo",
    //公告详情/广告详情/平台介绍详情/平台权益详情/操作指南详情
    NewsDetail: SERVERURL + "index/News/detail",

    // 工人资源
    //获取工人列表
    UserGetLists: SERVERURL + "worker/User/getLists",
    //获取工人列表/获取工人详情
    UserGetDetail: SERVERURL + "worker/User/getDetail",
    //工人列表/工人详情/收藏
    UserCollect: SERVERURL + "worker/User/collect",
    //工人列表/工人详情/去雇佣
    FoundHireSpecialty: SERVERURL + "found/Found/hireSpecialty",
    //工人列表/工人详情/用户案例
    UserCaseLists: SERVERURL + "user/UserCase/lists",
    //工人列表/工人详情/雇主评价 TODO:订单完成在写

    //业务资源
    //业务资源/专业用工列表
    SpecialtyGetLists: SERVERURL + "work/Specialty/getLists",
    //业务资源/专业用工列表/详情
    SpecialtyGetDetail: SERVERURL + "work/Specialty/getDetail",
    //业务资源/专业用工列表/详情页/收藏
    SpecialtyCollect: SERVERURL + "work/Specialty/collect",
    //业务资源/专业用工列表/详情页/应聘
    SpecialtyApply: SERVERURL + "work/Specialty/apply",
    //业务资源/零活列表
    AmateurGetLists: SERVERURL + "work/Amateur/getLists",
    //业务资源/零活列表页面/零活详情
    AmateurGetDetail: SERVERURL + "work/Amateur/getDetail",
    //业务资源/零活列表页面/零活详情页/应聘 (零活应聘的那个页面不要了)
    AmateurApply: SERVERURL + "work/Amateur/apply",

    //二手交易
    //二手交易/回收专区列表页面/获取回收专区列表
    RecycleHuishou: SERVERURL + "recycle/Recycle/huishou",
    //二手交易/二手物品列表页面/获取二手物品列表
    RecycleErshou: SERVERURL + "recycle/Recycle/ershou",
    //二手交易/发布信息
    RecycleCreate: SERVERURL + "recycle/Recycle/create",

    //找零工
    //找零工/找零工列表页面
    ShortGetLists: SERVERURL + "work/Short/getLists",
    //找零工/发布信息
    ShortCreate: SERVERURL + "work/Short/create",


    //发布
    //发布零活
    FoundCreateAmateur: SERVERURL + "found/Found/createAmateur",
    //发布专业用工
    FoundCreateSpecialty: SERVERURL + "found/Found/createSpecialty",


    //订单
    //我接的活/待报价列表
    AcceptUserWaitOffer: SERVERURL + "order/AcceptUser/waitOffer",
    //我接的活/待报价列表/承包协议
    NewsContractTreaty: SERVERURL + "index/News/contractTreaty",
    //我接的活/待报价列表/聘用协议
    NewsEngageTreaty: SERVERURL + "index/News/engageTreaty",
    //我接的活/待报价列表/去报价
    AcceptUserGoOffer: SERVERURL + "order/AcceptUser/goOffer",
    //我接的活/待支付列表
    AcceptUserWaitPay: SERVERURL + "order/AcceptUser/waitPay",
    //我接的活/待报价列表/去报价
    AcceptUserGetComment: SERVERURL + "order/AcceptUser/getComment",
    //我接的活/待服务列表
    AcceptUserWaitService: SERVERURL + "order/AcceptUser/waitService",
    //我接的活/待服务列表/开始服务
    AcceptUserBeginService: SERVERURL + "order/AcceptUser/beginService",
    //我接的活/服务中列表
    AcceptUserInService: SERVERURL + "order/AcceptUser/inService",
    //我接的活/服务中列表/发布进度
    AcceptUserReleasePlan: SERVERURL + "order/AcceptUser/releasePlan",
    //我接的活/服务中列表/请客户验收
    AcceptUserInviteAccept: SERVERURL + "order/AcceptUser/inviteAccept",
    //我接的活/待验收列表
    AcceptUserWaitAccept: SERVERURL + "order/AcceptUser/waitAccept",
    //我接的活/待验收列表/同意差价
    AcceptUserAgreeRefund: SERVERURL + "order/AcceptUser/agreeRefund",
    //我接的活/已完成列表
    AcceptUserComplete: SERVERURL + "order/AcceptUser/complete",


    //我雇佣的人/待报价列表
    WorkUserWaitOffer: SERVERURL + "order/WorkUser/waitOffer",
    //我雇佣的人/待支付列表
    WorkUserWaitPay: SERVERURL + "order/WorkUser/waitPay",
    //我雇佣的人/待支付列表/用工订单协议
    NewsOrderTreaty: SERVERURL + "index/News/orderTreaty",
    //我雇佣的人/待支付列表/去支付
    WorkUserGoPay: SERVERURL + "order/WorkUser/goPay",

    //我雇佣的人/待服务列表
    WorkUserWaitService: SERVERURL + "order/WorkUser/waitService",
    //我雇佣的人/服务中列表
    WorkUserInService: SERVERURL + "order/WorkUser/inService",
    //我雇佣的人/待验收列表
    WorkUserWaitAccept: SERVERURL + "order/WorkUser/waitAccept",
    //我雇佣的人/服务中列表/查看进度
    WorkUserGetPlanLists: SERVERURL + "order/WorkUser/getPlanLists",

    //我雇佣的人/待验收列表/申请差价
    WorkUserApplyRefund: SERVERURL + "order/WorkUser/applyRefund",
    //我雇佣的人/待验收列表/确认验收
    WorkUserConfirmAccept: SERVERURL + "order/WorkUser/confirmAccept",
    //我雇佣的人/已完成列表
    WorkUserComplete: SERVERURL + "order/WorkUser/complete",
    //我雇佣的人/已完成列表/增加项目
    WorkUserIncreaseWork: SERVERURL + "order/WorkUser/increaseWork",
    //我雇佣的人/已完成列表/我的评价
    WorkUserGetComment: SERVERURL + "order/WorkUser/getComment",



    //个人中心--用户信息
    UserGetUser: SERVERURL + "user/User/getUser",
    //个人中心--修改头像
    UserUpdateHeadimgurl: SERVERURL + "user/User/updateHeadimgurl",
    //个人中心--修改密码
    UserResetUserPass: SERVERURL + "user/User/resetUserPass",
    //个人中心--修改密码--重置密码发送验证码
    UserSendsmsResetPass: SERVERURL + "user/User/sendsmsResetPass",
    //个人中心--工种升级
    UserApplyWorkCateLevel: SERVERURL + "user/UserApply/workCateLevel",

    //完善资料--基本资料--获取用户基础资料
    UserGetUserBase: SERVERURL + "user/User/getUserBase",
    //完善资料--基本资料--修改用户基础资料
    UserUpdateUserBase: SERVERURL + "user/User/updateUserBase",
    //完善资料--基本资料--获取用户认证资料
    UserAuthGetDetail: SERVERURL + "user/UserAuth/getDetail",
    //完善资料--基本资料--获取用户认证资料--申请工种更改
    UserApplyWorkCate: SERVERURL + "user/UserApply/workCate",
    //完善资料--服务资料--获取用户服务资料
    UserGetUserService: SERVERURL + "user/User/getUserService",
    //完善资料--服务资料--修改用户服务资料
    UserUpdataUserService: SERVERURL + "user/User/updataUserService",
    //完善资料--案例资料--获取用户案例列表
    UserCaseLists: SERVERURL + "user/UserCase/lists",
    //完善资料--案例资料--添加用户案例
    UserCaseCreate: SERVERURL + "user/UserCase/create",

    //我的发布/求职列表
    UserFoundUserWorkShort: SERVERURL + "user/UserFound/userWorkShort",
    //我的发布/求职列表/求职删除
    UserFoundRemoveUserWorkShort: SERVERURL + "user/UserFound/removeUserWorkShort",
    //我的发布/回收列表
    UserFoundUserHuiShou: SERVERURL + "user/UserFound/userHuiShou",
    //我的发布/回收列表/回收删除
    UserFoundRemoveUserHuiShou: SERVERURL + "user/UserFound/removeUserHuiShou",
    //我的发布/二手列表
    UserFoundUserErShou: SERVERURL + "user/UserFound/userErShou",
    //我的发布/二手列表/二手删除
    UserFoundRemoveUserErShou: SERVERURL + "user/UserFound/removeUserErShou",

    //我的收藏--收藏的工人
    UserCollectWorkerLists: SERVERURL + "user/UserCollect/workerLists",
    //我的收藏--收藏的工人--取消收藏
    UserCollectCancelWorker: SERVERURL + "user/UserCollect/cancelWorker",
    //我的收藏--收藏的工作
    UserCollectWorkLists: SERVERURL + "user/UserCollect/workLists",
    //我的收藏--收藏的工作--取消收藏
    UserCollectCancelWork: SERVERURL + "user/UserCollect/cancelWork",

    //我的应聘--专业用工
    UserEmployUserSpecialtyApply: SERVERURL + "user/UserEmploy/userSpecialtyApply",
    //我的应聘--专业用工--删除
    UserEmployRemoveUserSpecialtyApply: SERVERURL + "user/UserEmploy/removeUserSpecialtyApply",
    //我的应聘--零活列表
    UserEmployUserAmateurApply: SERVERURL + "user/UserEmploy/userAmateurApply",
    //我的应聘--零活列表--删除
    UserEmployRemoveUserAmateurApply: SERVERURL + "user/UserEmploy/removeUserAmateurApply",

    //雇佣邀请--雇佣列表
    UserEmployUserSpecialtyInvite: SERVERURL + "user/UserEmploy/userSpecialtyInvite",
    //雇佣邀请--雇佣列表--确认接活
    UserEmployUserSpecialtyAccept: SERVERURL + "user/UserEmploy/userSpecialtyAccept",

    //应聘列表/专业用工
    UserFoundUserSpecialty: SERVERURL + "user/UserFound/userSpecialty",
    //专业用工/下架
    UserFoundCeaseUserSpecialty: SERVERURL + "user/UserFound/ceaseUserSpecialty",
    //专业用工/查看应聘列表
    UserFoundUserSpecialtyApplyLists: SERVERURL + "user/UserFound/userSpecialtyApplyLists",
    //专业用工/查看应聘列表/确认雇佣
    UserFoundConfirmSpecialtyApply: SERVERURL + "user/UserFound/confirmSpecialtyApply",
    //专业用工/查看应聘列表/取消雇佣
    UserFoundCancelSpecialtyApply: SERVERURL + "user/UserFound/cancelSpecialtyApply",

    //应聘列表/零活列表
    UserFoundUserAmateur: SERVERURL + "user/UserFound/userAmateur",
    //零活列表/下架
    UserFoundCeaseUserAmateur: SERVERURL + "user/UserFound/ceaseUserAmateur",
    //零活列表/查看应聘列表
    UserFoundUserAmateurApplyLists: SERVERURL + "user/UserFound/userAmateurApplyLists",
    //零活列表/查看应聘列表/确认雇佣
    UserFoundConfirmAmateurApply: SERVERURL + "user/UserFound/confirmAmateurApply",
    //零活列表/查看应聘列表/取消雇佣
    UserFoundCancelAmateurApply: SERVERURL + "user/UserFound/cancelAmateurApply",

    //查看应聘列表/查看用户详情/认证工人
    UserFoundConfirmSpecialtyApply: SERVERURL + "user/UserFound/confirmSpecialtyApply",
    //查看应聘列表/查看用户详情/普通用户
    UserFoundGetUserBase: SERVERURL + "user/UserFound/getUserBase",

    //个人消息/个人消息列表
    UserMessageGetLists: SERVERURL + "user/UserMessage/getLists",
    //个人消息/个人消息列表/已读
    UserMessageUserRead: SERVERURL + "user/UserMessage/userRead",
    //个人消息/个人消息列表/删除
    UserMessageUserRemove: SERVERURL + "user/UserMessage/userRemove",

    //会员权益
    NewsCustomerEquity: SERVERURL + "index/News/customerEquity",
    //客服中心
    NewsCustomerService: SERVERURL + "index/News/customerService",

    //工人认证（注册成为工人）
    //判断用户是否认证
    UserAuthIsAuth: SERVERURL + "user/UserAuth/isAuth",
    //提交认证资料
    UserAuthCreate: SERVERURL + "user/UserAuth/create",
    //获取认证资料
    UserAuthAuthDetail: SERVERURL + "user/UserAuth/authDetail",
    //更新认证资料
    UserAuthUpdate: SERVERURL + "user/UserAuth/update",



};
